package com.mangosteen.interviewji.service;

import com.baomidou.mybatisplus.extension.plugins.pagination.Page;
import com.mangosteen.interviewji.model.entity.QuestionFavour;
import com.baomidou.mybatisplus.extension.service.IService;
import com.mangosteen.interviewji.model.vo.QuestionVO;

import javax.servlet.http.HttpServletRequest;

/**
* @author ASUS
* @description 针对表【question_favour(题目收藏表)】的数据库操作Service
* @createDate 2025-11-10 16:46:32
*/
public interface QuestionFavourService extends IService<QuestionFavour> {

    Boolean submit(Long questionId,Long userId);

    Boolean getStatus(Long questionId,Long userId);

    Page<QuestionVO> getUserFavour(Long current, Long size, Long id, HttpServletRequest request);
}
